﻿using DDD.Domain.Abstract.Entities.Enum;

namespace DDD.Domain.Abstract.Entities.IAbiltly
{
    /// <summary>
    /// 软删除接口
    /// </summary>
    public interface ISoftDelete
    {
        public IsDeletedEnum IsDeleted { get; set; }
    }

    public interface IDeltetor<T>
    {
        public T? DeletorId { get; set; }
    }

    public interface IDeleteTime
    {
        public DateTime? DeleteTime { get;}
    }

    public interface IDelete<T> : IDeltetor<T>, IDeleteTime
    {

    }

    public interface ISoftDelete<T> : IDelete<T>, ISoftDelete
    {
    }
}
